package yhao.demo.service.login;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.Import;
import yhao.infra.service.ServiceBaseConfig;
import yhao.infra.common.logger.BootstrapLogDoneFilter;
import yhao.infra.web.WebBaseConfig;


@EnableDiscoveryClient
@EnableCircuitBreaker
@SpringBootApplication
@EnableHystrix
@Import({WebBaseConfig.class, ServiceBaseConfig.class,})
public class LoginServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(LoginServiceApplication.class, args);
        BootstrapLogDoneFilter.bootstrapDone();
    }
}
